package com.example.demo.mapper;

import com.example.demo.entity.Course;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface CourseMapperInt extends JpaRepository<Course, Integer> {

    //@Query(name="findCourseByTimeRoom", nativeQuery=true, value="select * from course where ctime=:ctime and croom=:croom")
    //Course findCourseByTimeRoom(String ctime, String croom);
}
